import { registerAs } from '@nestjs/config';

export default registerAs('geetest', () => ({
  messageUrl: process.env.GEETEST_MESSAGE_URL,
  messageAppId: process.env.GEETEST_MESSAGE_APP_ID,
  messageAppSecret: process.env.GEETEST_MESSAGE_APP_SECRET,
  messageModeAuth: process.env.GEETEST_MESSAGE_MODE_AUTH,
  steUrl: process.env.GEETEST_STE_URL,
  steAppId: process.env.GEETEST_STE_APP_ID,
  steAppSecret: process.env.GEETEST_STE_APP_SECRET,
  refundId: process.env.GEETEST_REFUND_ID,
}));
